package com.pro.VO;

import java.util.List;

/**
 *
 *封装了前端首页课程推荐列表相关信息
 * */
public class IndexCourseTJVO {
    /**
     * id值
     */
    private Integer id;

    /**
     * 课程名称
     */
    private String coursename;

    /**
     * 课程图片地址
     */
    private String courseimgurl;

    /**
     * 课程介绍（可以是一张图片，那么就是图片的URL地址）
     */
    private String coursedescription;

    /**
     * 总课时
     */
    private Integer totalhour;

    /**
     * 课程价格
     */
    private Double courseprice;

    /**
     * 课程讲师
     */
    private String courseteacher;

    /**
     * 学习人数。多少人收看了当前课程
     */
    private Integer learnnum;

    /**
     * 课程类型（audio音频，video视频，tuWen图文）
     */
    private String type;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCoursename() {
        return coursename;
    }

    public void setCoursename(String coursename) {
        this.coursename = coursename;
    }

    public String getCoursedescription() {
        return coursedescription;
    }

    public void setCoursedescription(String coursedescription) {
        this.coursedescription = coursedescription;
    }

    public Integer getTotalhour() {
        return totalhour;
    }

    public void setTotalhour(Integer totalhour) {
        this.totalhour = totalhour;
    }

    public Double getCourseprice() {
        return courseprice;
    }

    public void setCourseprice(Double courseprice) {
        this.courseprice = courseprice;
    }

    public String getCourseteacher() {
        return courseteacher;
    }

    public void setCourseteacher(String courseteacher) {
        this.courseteacher = courseteacher;
    }

    public Integer getLearnnum() {
        return learnnum;
    }

    public void setLearnnum(Integer learnnum) {
        this.learnnum = learnnum;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public IndexCourseTJVO() {
    }

    public IndexCourseTJVO(Integer id, String coursename, String coursedescription, Integer totalhour, Double courseprice, String courseteacher, Integer learnnum, String type) {
        this.id = id;
        this.coursename = coursename;
        this.coursedescription = coursedescription;
        this.totalhour = totalhour;
        this.courseprice = courseprice;
        this.courseteacher = courseteacher;
        this.learnnum = learnnum;
        this.type = type;
    }

    public String getCourseimgurl() {
        return courseimgurl;
    }

    public void setCourseimgurl(String courseimgurl) {
        this.courseimgurl = courseimgurl;
    }
}
